package com.cdut.self.service;

import com.cdut.self.pojo.dto.UserDTO;

import java.util.List;

/********************
 *
 * @author chentao
 * @date 2020/7/23 9:59 上午
 ********************/
public interface UserService {

    public List<UserDTO> findAll();

    public UserDTO findById(Integer id);

    public Integer addUser(UserDTO userDTO);

    public UserDTO updateUser(UserDTO userDTO);

    public Integer delUser(Integer id);
}
